<%@ include file="/view/template/header.jsp"%>	
	<div id="content">
    	<%@ include file="/view/supply_chain/pharmacy_all.jsp"%>
        <div class="right-content">
			<div class="box">
				<h1>
					<s:text name="menu.supply_chain.prescription_drugs"></s:text>
				</h1>
				<s:form action="prescription_drugs_form" method="post">

					<div class="con-part"><span><s:text name="prescriptionDrugs1.patientId"></s:text>
						</span><s:textfield key="prescriptionDrugs.patientId" required="true" ></s:textfield> 
						</div>
					
						<div class="con-part"><span><s:text name="prescriptionDrugs1.requestId"></s:text>
						</span><s:textfield key="prescriptionDrugs.requestId" required="true" ></s:textfield> 
						</div>
					
					<div class="con-part"><span><s:text name="prescriptionDrugs1.drugId"></s:text>
						</span> <s:textfield key="prescriptionDrugs.drugId" required="true"></s:textfield>
						</div>

					 <div class="con-part"><span><s:text name="prescriptionDrugs1.dosage"></s:text>
						</span> <s:textfield name="prescriptionDrugs.dosage" required="true"></s:textfield>
						</div>
					
					<div class="con-part"><span><s:text name="prescriptionDrugs1.minAmount"></s:text>
						</span> <s:textfield key="prescriptionDrugs.minAmount" required="true"></s:textfield> 
						</div>

					<div class="con-part"><span><s:text name="prescriptionDrugs1.maxAmount"></s:text>
						</span> <s:textfield key="prescriptionDrugs.maxAmount" required="true"></s:textfield> 
						</div>

					<div class="con-part"><span><s:text name="prescriptionDrugs1.amountUnits"></s:text>
						</span> <s:select key="prescriptionDrugs.amountUnits" cssClass="select_box" list="#{'mg': 'Mili-grams', 'ml': 'Mili-litre'}" headerKey="mg" headerValue="---Select Unit---" />
						</div>

					<div class="con-part"><span><s:text name="prescriptionDrugs1.quantity"></s:text>
						</span> <s:textfield key="prescriptionDrugs.quantity" required="true"></s:textfield>
						</div>

					 <div class="con-part"><span><s:text name="prescriptionDrugs1.allowSubstitutes"></s:text>
						</span> <s:select key="prescriptionDrugs.allowSubstitutes" cssClass="select_box" list="#{'Y':'Yes','N':'No'}" headerKey="Y" headerValue="---Choose (Y/N)---"/> 
						</div>

					<div class="con-part"><span><s:text name="prescriptionDrugs1.requestDate"></s:text>
						</span> <sj:datepicker key="prescriptionDrugs.requestDate" required="true"  timepicker="true"/> 
						</div>
						
					<div class="con-part"><span><s:text name="prescriptionDrugs1.prescriptionNo"></s:text>
						</span> <s:textfield key="prescriptionDrugs.prescriptionNo" required="true"></s:textfield> 
						</div>
					
					<div class="con-part"><span><s:text name="prescriptionDrugs1.prescriptionById"></s:text>
						</span> <s:textfield key="prescriptionDrugs.prescribeById" required="true"></s:textfield> 
						</div>
					
					<div class="con-part"><span>&nbsp;</span>
						<s:submit key="prescriptionDrugs.submit" cssClass="green" align="center" /> &nbsp;
						<s:submit key="prescriptionDrugs.cancel" cssClass="green" align="center" />
					</div>

					<div class="con-part"><s:if test="%{message.message!=empty}">
							<s:property value="message.message" />
						</s:if> </div>
				</s:form>
			</div>
		</div>
	</div>
<%@ include file="/view/template/footer.jsp"%>
	